﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DLL;
using System.Data;

namespace BLL
{
    public class TestQuestionBLL
    {

#region 部署测试出现问题，添加进数据库中
        public int InsertQuestion(QuestionEntity question)
        {

            TestQuestionDAL insertquestion = new TestQuestionDAL();      
            return insertquestion.InsertQuestion(question);

        }
#endregion

        //public List<QuestionEntity> SelectQuestion()
        //{
        //    TestQuestionDAL TQuestion = new TestQuestionDAL();
        //    List<QuestionEntity> question = TQuestion.SelectQuestion();
            
        //    if(question.Count >0)
        //    {
        //        return question;
        //    }
        //    throw new Exception("抱歉，未查询到数据！");
            
        //}
    }
}
